<extend name="Layout/ins_page" />
<block name="content">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Form</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
        <link href="/sap/demo.css" rel="stylesheet" type="text/css" />
        <script src="/sap/scripts/boot.js" type="text/javascript"></script>
    </head>
    <style>

        td{
            margin-top:10px;

        }
    </style>
    <body>

    <form id="form1" name="form1" method="post" action="/Report/brandrankexcel/">
        选择客户平台<br />

        <?php
        //var_dump($options);die();
        ?>

        <select name="Cardcode[]"style="width:190px;" size="10"  multiple  <a href=# title="（按Ctrl、shift可以多选）"></a>
        <?php
for ($i=0; $i<count($options); $i++) {
 echo "<option  selected = selected  value ='".$options[$i][0]."'>".$options[$i][1]."</option>";
        }
        ?>
        </select>


        <div>
            订单开始时间<br />
            <input name="FromDate" id="FromDate" class="mini-datepicker" format="yyyy-MM-dd " showTime="true" valueType='string'
                   value="<?php echo date('Y-m-d', time() - 86400 * 7) ?>"/>
        </div>
        <div>
            订单结束时间<br />
            <input name="ToDate" id="ToDate" class="mini-datepicker" format="yyyy-MM-dd " showTime="true" valueType='string'
                   value="<?php echo date('Y-m-d ') ?>"/>
        </div>
        显示选项<br />
        <p>汇总层次
            <input type="radio" name="GroupLevel" checked="true" value="Catlog0" />
            不分类
            <input type="radio" name="GroupLevel" value="Catlog1" />
            一级分类
            <input type="radio" name="GroupLevel" value="Catlog2" />
            二级分类
            <input type="radio" name="GroupLevel" value="Catlog3" />
            三级分类</p>
        <p>排序依据
            <input type="radio" name="OrderBy"  checked="true" value="Sumgty" />
            销售数量
            <input type="radio" name="OrderBy" value="Sumprice" />
            销售金额
            <input type="radio" name="OrderBy" value="Sumprofit" />
            销售毛利 </p>
        <p>平台汇总
            <input type="radio" name="ViewOption" checked="true" value="Total" />
            合并显示
            <input type="radio" name="ViewOption" value="Everyone" />
            分别显示</p>
        <br />
        <div><input type="submit" name="Submit" value="提交" /></div>


    </form>

    </body>
    </html>

</block>
<block name="js">
</block>